package com.tianbo.mapper;

import com.tianbo.model.TKpiCargoManifest;
import com.tianbo.model.TKpiCargoManifestExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TKpiCargoManifestMapper {
    int countByExample(TKpiCargoManifestExample example);

    int deleteByExample(TKpiCargoManifestExample example);

    int deleteByPrimaryKey(BigDecimal fid);

    int insert(TKpiCargoManifest record);

    int insertSelective(TKpiCargoManifest record);

    List<TKpiCargoManifest> selectByExample(TKpiCargoManifestExample example);

    TKpiCargoManifest selectByPrimaryKey(BigDecimal fid);

    int updateByExampleSelective(@Param("record") TKpiCargoManifest record, @Param("example") TKpiCargoManifestExample example);

    int updateByExample(@Param("record") TKpiCargoManifest record, @Param("example") TKpiCargoManifestExample example);

    int updateByPrimaryKeySelective(TKpiCargoManifest record);

    int updateByPrimaryKey(TKpiCargoManifest record);

    BigDecimal sumWeightByExample(TKpiCargoManifestExample example);

    BigDecimal sumPcsByExample(TKpiCargoManifestExample example);

    BigDecimal sumVolByExample(TKpiCargoManifestExample example);
}